home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / scottman / form2.frm < prev    next >
Text File  |  1995-09-06  |  2KB  |  62 lines

  1. VERSION 2.00
  2. Begin Form Form2 
  3.    BackColor       =   &H00C0C0C0&
  4.    BorderStyle     =   1  'Fixed Single
  5.    Caption         =   "Run Special"
  6.    ClientHeight    =   1770
  7.    ClientLeft      =   5970
  8.    ClientTop       =   7560
  9.    ClientWidth     =   4200
  10.    Height          =   2175
  11.    Left            =   5910
  12.    LinkTopic       =   "Form2"
  13.    MaxButton       =   0   'False
  14.    MinButton       =   0   'False
  15.    ScaleHeight     =   1770
  16.    ScaleWidth      =   4200
  17.    Top             =   7215
  18.    Width           =   4320
  19.    Begin CommandButton Command2 
  20.       Caption         =   "Cancel"
  21.       Height          =   615
  22.       Left            =   2400
  23.       TabIndex        =   0
  24.       Top             =   960
  25.       Width           =   1575
  26.    End
  27.    Begin CommandButton Command1 
  28.       Caption         =   "OK"
  29.       Default         =   -1  'True
  30.       Height          =   615
  31.       Left            =   240
  32.       TabIndex        =   1
  33.       Top             =   960
  34.       Width           =   1575
  35.    End
  36.    Begin TextBox Text1 
  37.       Height          =   285
  38.       Left            =   1440
  39.       TabIndex        =   3
  40.       Top             =   240
  41.       Width           =   2535
  42.    End
  43.    Begin Label Label1 
  44.       BorderStyle     =   1  'Fixed Single
  45.       Caption         =   "Name"
  46.       Height          =   285
  47.       Left            =   240
  48.       TabIndex        =   2
  49.       Top             =   240
  50.       Width           =   1095
  51.    End
  52. End
  53. Sub Command1_Click ()
  54. x = Shell(text1.Text, 1)
  55. form2.Visible = False
  56. End Sub
  57.  
  58. Sub Command2_Click ()
  59. form2.Visible = False
  60. End Sub
  61.  
  62.